//
//  ZLLandscapeViewController.m
//  ZLClient
//
//  Created by lizhu on 2017/5/11.
//  Copyright © 2017年 zhuli. All rights reserved.
//

#import "ZLLandscapeViewController.h"
#import "AppDelegate+Landscape.h"

@interface ZLLandscapeViewController ()

@end

@implementation ZLLandscapeViewController
#pragma mark - life cycles
- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    self.view.backgroundColor=[UIColor grayColor];
    [AppDelegate sharedDelegate].appOrientation=UIInterfaceOrientationMaskAll;
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

- (void)viewDidDisappear:(BOOL)animated{
    [super viewDidDisappear:animated];
    [AppDelegate sharedDelegate].appOrientation=UIInterfaceOrientationMaskPortrait;    
}

@end
